package cn.study.luckyclient.api;

import cn.study.luckyclient.dto.PrizeAddCmd;
import cn.study.luckyclient.dto.PrizeUpdateCmd;
import cn.study.luckyclient.dto.data.PrizeVo;
import cn.study.luckyclient.dto.query.PrizeListByParamQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Service;

public interface IPrizeService {
    PrizeVo add(PrizeAddCmd cmd);
    PrizeVo update(PrizeUpdateCmd cmd);
    IPage<PrizeVo> page(PrizeListByParamQuery query);

    PrizeVo one(Long id);
}
